﻿// ////////////////////////////////////////////////////////////////////////////
// 
// SWE Case Tool
// 
// Solution:	CaseTool
// Project:		2. CaseTool GUI
// Filename:	Program.cs
// 
// File Created:	09:25 16.05.2013 
// Last Changed:	18:30 05.06.2013
// 
// ////////////////////////////////////////////////////////////////////////////

using System;
using System.Windows.Forms;

namespace SWE.CaseTool.GUI
{
	/// <summary>
	/// Program entry point. Opens the main window and saves the settings file.
	/// </summary>
	internal static class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		private static void Main()
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			Application.Run(new FrmCaseTool());

			try
			{
				Settings.SaveInstance();
			}
			catch
			{}
		}
	}
}